/** 
 * roombrowse.h - View everyone in a chat room with bio and photos
 *
 * WoodPecker is the legal property of its developers, whose names are too numerous
 * to list here.  Please refer to the COPYRIGHT file distributed with this
 * source distribution.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * $Id: roombrowse.h 121 2008-04-12 08:41:34Z dubkat $
 */

/* purple */
#include <conversation.h>
#include <debug.h>
#include <log.h>
#include <prefs.h>
#include <signals.h>
#include <util.h>
#include <version.h>
#include <prpl.h>
/* pidgin */
#include <gtkconv.h>
#include <gtkimhtml.h>
#include <gtkplugin.h>
#include <gtkdialogs.h>
#include <gtkutils.h>
#include <gtkblist.h>
#include <gtkimhtmltoolbar.h>
#include <pidginstock.h>
#include <gdk/gdkkeysyms.h>

static GHashTable *browsers = NULL;
static GHashTable *browser_channels = NULL;

enum
{
    COLUMN_PHOTO,
    COLUMN_SYNC,
    COLUMN_NAME,
    COLUMN_PREFIX,
    COLUMN_ROOM,
    COLUMN_INFO,
    N_COLUMNS
};

struct RoomBrowseInfo
{

    PurpleAccount *account;
    PurpleConnection *gc;
};

struct update_cb_data
{
    PurpleConnection *gc;
    const char *room;
};

typedef struct RoomBrowseGui
{
    GtkWidget *window;
    GtkWidget *button;
    GtkWidget *list;
    GtkTreeModel *model;
    GtkWidget *label;
    GtkTreeIter iter;
    PurpleConnection *gc;
    char *channel;
    PurpleConversation *conv;
} RoomBrowseGui;
